package com.dubbo.study.echo;

import com.dubbo.study.echo.api.EchoService;
import org.apache.dubbo.config.annotation.Reference;
import org.springframework.stereotype.Component;

/**
 * @program: dubbostudy
 *
 * @description:
 *
 * @author: heqiang
 *
 * @create: 2019-10-18 17:41
 **/

@Component
public class EchoConsumer2 {

    @Reference
    private EchoService echoService;

    public String echo(String name) {
        return echoService.echo(name);
    }


}
